/*
 * To change this template, choose Tools | Templates
 * and open the template in the editor.
 */

package com.inathitunzana.principles.ispcomply.Impl;

import com.inathitunzana.principles.ispcomply.IDialler;
import com.inathitunzana.principles.ispcomply.IEmailer;


/**
 *
 * @author Student
 */
public class Contact implements IEmailer, IDialler {
    String name;
    String emailAddress;
    String address ;
    String telephoneNumber;

    public void SetName(String name) {
       this.name = name;
    }

    public String GetName() {
        return name;
    }

    public void SetEmailAddress(String email) {
        emailAddress = email;
    }

    public String GetEmailAddress() {
        return emailAddress;
    }

    public void SetTelephone(String telephone) {
        telephoneNumber = telephone;
    }

    public String GetTelephone() {
        return telephoneNumber;
    }

    public void SetAddress(String address) {
        this.address = address;
    }

    public String GetAddress() {
        return address;
    }

    public String GetContact()
    {
        return "Name: " +name+ " Email Address: " +emailAddress+ " Home Address: " +address+ " Tel. No: " +telephoneNumber;
    }
}
